package com.mashibing.apidriver.remote;

import org.mashibing.dto.ResponseResult;
import org.mashibing.response.NumberCodeResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author:
 * @create: 2024/6/28 15:03
 * @description:
 */
@FeignClient("service-verificationCode")
public interface ServiceVerificationCodeClient {

    @GetMapping("/numberCode/{size}")
    ResponseResult<NumberCodeResponse> numberCode(@PathVariable("size") int size);
}
